
import request from '@/router/axios';

export const getCalculate = id => {
  return request({
    url: '/calculate/res/'+id,
    method: 'get',
  }).catch(error=>{
    console.log(error)
  })
}

export const getDetails = id => {
  return request({
    url: '/portfolios/details/'+id,
    method: 'get',
  }).catch(error=>{
    console.log(error)
  })
}